/**
 * 
 * Moises Florez and Peter Matano
 *
 */
public class ConnectionDetails{
	int connectionID;	
	private int deviceType;	
	private boolean connectionOpen;
	private boolean readyRead;
	private boolean readyWrite;
	private boolean connectionClose;
	private boolean connectionIDWasUsed;
	private int nValue;
	private int nCount;
	private int readToAddress;
	private int writeFromAddress;
	private int index;
		
	public boolean isConnectionOpen() {
		return connectionOpen;
	}
	public void setConnectionOpen(boolean connectionOpen) {
		this.connectionOpen = connectionOpen;
	}
	public boolean isConnectionClose() {
		return connectionClose;
	}
	public void setConnectionClose(boolean connectionClose) {
		this.connectionClose = connectionClose;
	}
	public int getDeviceType() {
		return deviceType;
	}
	public void setDeviceType(int deviceType) {
		this.deviceType = deviceType;
	}
	public boolean isConnectionIDWasUsed() {
		return connectionIDWasUsed;
	}
	public void setConnectionIDWasUsed(boolean connectionIDWasUsed) {
		this.connectionIDWasUsed = connectionIDWasUsed;
	}
	public int getConnectionID() {
		return connectionID;
	}
	public void setConnectionID(int connectionID) {
		this.connectionID = connectionID;
	}
	public int getnValue() {
		return nValue;
	}
	public void setnValue(int nValue) {
		this.nValue = nValue;
	}
	public int getReadToAddress() {
		return readToAddress;
	}
	public void setReadToAddress(int readToAddress) {
		this.readToAddress = readToAddress;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public boolean isReadyRead() {
		return readyRead;
	}
	public void setReadyRead(boolean readyRead) {
		this.readyRead = readyRead;
	}
	public boolean isReadyWrite() {
		return readyWrite;
	}
	public void setReadyWrite(boolean readyWrite) {
		this.readyWrite = readyWrite;
	}
	public int getWriteFromAddress() {
		return writeFromAddress;
	}
	public void setWriteFromAddress(int writeFromAddress) {
		this.writeFromAddress = writeFromAddress;
	}
	public int getnCount() {
		return nCount;
	}
	public void setnCount(int nCount) {
		this.nCount = nCount;
	}
	
}
